package com.yeyaomai.dksns.flowis.domain;

import java.util.Date;

import com.yeyaomai.dksns.flowis.util.VelocityToolDateUtils;

/**
 * 权限角色表
 * 
 * @author xiaqin
 * @date 2012-06-26
 */
public class FlowRole extends Entity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long roleId;

	private String roleName;

	private Integer status;

	private Date createTime;

	private Long userId; // 用于关联表的操作

	private String authId="";

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCreateTime() {
		return VelocityToolDateUtils.formatperiod.format(createTime);
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getAuthId() {
		return authId;
	}

	public void setAuthId(String authId) {
		this.authId = authId;
	}

}
